package com.zx.commonsms.util;

public class StringUtil {
	/*
	 * 
	 * 将类型Object转换成String，Object为空或异常时返还"";
	 */

	public static String ObjectToString(Object o){
		try{
			if(o !=null){
				return o.toString();
			}else{
				return "";
			}
		}catch(Exception e){
			return "";
		}
	}
}
